{include file="public/header296" /}
<div class="layui-form" style="padding-top: 10px;">
  <div class="layui-form-item">
    <label class="layui-form-label">所属角色</label>
    <div class="layui-input-inline">
      <select name="role_id" lay-verify="required">
        <option value="">请选择角色</option>
        {foreach $role_items as $item}
          <option value="{$item.id}">{$item.name}</option>
        {/foreach}
      </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-inline">
      <input type="text" name="username" lay-verify="required" autocomplete="on" class="layui-input" />
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">昵称</label>
    <div class="layui-input-inline">
      <input type="text" name="nickname" lay-verify="required" autocomplete="on" class="layui-input" />
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">手机号码</label>
    <div class="layui-input-inline">
      <input type="text" name="phone" lay-verify="required" class="layui-input" />
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">性别</label>
    <div class="layui-input-block">
      <input type="radio" name="gender" value="1" title="男" />
      <input type="radio" name="gender" value="2" title="女" />
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">密码</label>
    <div class="layui-input-inline">
      <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input" />
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">重复密码</label>
    <div class="layui-input-inline">
      <input type="password" name="repassword"  placeholder="请再次输入密码" autocomplete="off" class="layui-input" />
    </div>
  </div>
  <div class="layui-form-item layui-hide">
    <input type="button" lay-submit lay-filter="Lay-app-form-submit" id="Lay-app-form-submit" value="编辑">
  </div>
</div>
<script>
layui.use(['layer', 'form'], function(){

})
</script>
{include file="public/footer"}